package com.ukao.cashregister.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by ukaodev on 2017/12/15.
 */

public class RefundRecordBean  extends BaseBean<RefundRecordBean>{



        /**
         * pageNum : 0
         * pageSize : 0
         * size : 4
         * orderBy : null
         * startRow : 1
         * endRow : 4
         * total : 0
         * pages : 0
         * list : [{"mercId":1,"refundMethod":3,"orderId":884,"paymentPartner":"Native","userPhone":"18573160230","fee":null,"remark":null,"cityId":1,"id":21,"seq":"RF20171214185957726693","tradeSeq":"T20171214175821520335","tradeType":"0601","amount":500,"orderNo":"17121453687977","refundScene":8,"storeId":19,"refundMethodText":"会员卡余额","userName":"段福伟","userId":103,"isSign":0,"deviceSerial":"77322298","tradeTime":1513249197000,"createBy":32,"createTime":1513301233000,"statusText":"交易成功","status":1},{"mercId":1,"refundMethod":3,"orderId":884,"paymentPartner":"Native","userPhone":"18573160230","fee":null,"remark":null,"cityId":1,"id":20,"seq":"RF20171214185940887504","tradeSeq":"T20171214175821520335","tradeType":"0601","amount":500,"orderNo":"17121453687977","refundScene":8,"storeId":19,"refundMethodText":"会员卡余额","userName":"段福伟","userId":103,"isSign":0,"deviceSerial":"77322298","tradeTime":1513249181000,"createBy":32,"createTime":1513301216000,"statusText":"交易成功","status":1},{"mercId":1,"refundMethod":3,"orderId":884,"paymentPartner":"Native","userPhone":"18573160230","fee":null,"remark":null,"cityId":1,"id":19,"seq":"RF20171214180601630523","tradeSeq":"T20171214175821520335","tradeType":"0601","amount":500,"orderNo":"17121453687977","refundScene":8,"storeId":19,"refundMethodText":"会员卡余额","userName":"段福伟","userId":103,"isSign":0,"deviceSerial":"77322298","tradeTime":1513245961000,"createBy":32,"createTime":1513245958000,"statusText":"交易成功","status":1},{"mercId":1,"refundMethod":3,"orderId":884,"paymentPartner":"Native","userPhone":"18573160230","fee":null,"remark":null,"cityId":1,"id":18,"seq":"RF20171214180151105771","tradeSeq":"T20171214175821520335","tradeType":"0601","amount":1000,"orderNo":"17121453687977","refundScene":8,"storeId":19,"refundMethodText":"会员卡余额","userName":"段福伟","userId":103,"isSign":0,"deviceSerial":"77322298","tradeTime":1513245711000,"createBy":32,"createTime":1513245710000,"statusText":"交易成功","status":1}]
         * firstPage : 0
         * prePage : 0
         * nextPage : 0
         * lastPage : 0
         * isFirstPage : false
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : []
         */


        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<?> navigatepageNums;




    public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<?> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<?> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean implements Parcelable {
            /**
             * mercId : 1
             * refundMethod : 3
             * orderId : 884
             * paymentPartner : Native
             * userPhone : 18573160230
             * fee : null
             * remark : null
             * cityId : 1
             * id : 21
             * seq : RF20171214185957726693
             * tradeSeq : T20171214175821520335
             * tradeType : 0601
             * amount : 500
             * orderNo : 17121453687977
             * refundScene : 8
             * storeId : 19
             * refundMethodText : 会员卡余额
             * userName : 段福伟
             * userId : 103
             * isSign : 0
             * deviceSerial : 77322298
             * tradeTime : 1513249197000
             * createBy : 32
             * createTime : 1513301233000
             * statusText : 交易成功
             * status : 1
             */
            private   String  auditStatusText;
            private int mercId;
            private int refundMethod;
            private int orderId;
            private String paymentPartner;
            private String userPhone;
            private String fee;
            private String remark;
            private int cityId;
            private int id;
            private String seq;
            private String tradeSeq;
            private String tradeType;
            private int amount;
            private String orderNo;
            private int refundScene;
            private int storeId;
            private String refundMethodText;
            private String userName;
            private int userId;
            private int isSign;
            private String deviceSerial;
            private long tradeTime;
            private int createBy;
            private long createTime;
            private String statusText;
            private int status;
            public String getAuditStatusText() {
                return auditStatusText;
            }
            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getRefundMethod() {
                return refundMethod;
            }

            public void setRefundMethod(int refundMethod) {
                this.refundMethod = refundMethod;
            }

            public int getOrderId() {
                return orderId;
            }

            public void setOrderId(int orderId) {
                this.orderId = orderId;
            }

            public String getPaymentPartner() {
                return paymentPartner;
            }

            public void setPaymentPartner(String paymentPartner) {
                this.paymentPartner = paymentPartner;
            }

            public String getUserPhone() {
                return userPhone;
            }

            public void setUserPhone(String userPhone) {
                this.userPhone = userPhone;
            }

            public Object getFee() {
                return fee;
            }

            public void setFee(String fee) {
                this.fee = fee;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getSeq() {
                return seq;
            }

            public void setSeq(String seq) {
                this.seq = seq;
            }

            public String getTradeSeq() {
                return tradeSeq;
            }

            public void setTradeSeq(String tradeSeq) {
                this.tradeSeq = tradeSeq;
            }

            public String getTradeType() {
                return tradeType;
            }

            public void setTradeType(String tradeType) {
                this.tradeType = tradeType;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getRefundScene() {
                return refundScene;
            }

            public void setRefundScene(int refundScene) {
                this.refundScene = refundScene;
            }

            public int getStoreId() {
                return storeId;
            }

            public void setStoreId(int storeId) {
                this.storeId = storeId;
            }

            public String getRefundMethodText() {
                return refundMethodText;
            }

            public void setRefundMethodText(String refundMethodText) {
                this.refundMethodText = refundMethodText;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getIsSign() {
                return isSign;
            }

            public void setIsSign(int isSign) {
                this.isSign = isSign;
            }

            public String getDeviceSerial() {
                return deviceSerial;
            }

            public void setDeviceSerial(String deviceSerial) {
                this.deviceSerial = deviceSerial;
            }

            public long getTradeTime() {
                return tradeTime;
            }

            public void setTradeTime(long tradeTime) {
                this.tradeTime = tradeTime;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }


            public ListBean() {
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(this.mercId);
                dest.writeInt(this.refundMethod);
                dest.writeInt(this.orderId);
                dest.writeString(this.paymentPartner);
                dest.writeString(this.userPhone);
                dest.writeString(this.fee);
                dest.writeString(this.remark);
                dest.writeInt(this.cityId);
                dest.writeInt(this.id);
                dest.writeString(this.seq);
                dest.writeString(this.tradeSeq);
                dest.writeString(this.tradeType);
                dest.writeInt(this.amount);
                dest.writeString(this.orderNo);
                dest.writeInt(this.refundScene);
                dest.writeInt(this.storeId);
                dest.writeString(this.refundMethodText);
                dest.writeString(this.userName);
                dest.writeInt(this.userId);
                dest.writeInt(this.isSign);
                dest.writeString(this.deviceSerial);
                dest.writeLong(this.tradeTime);
                dest.writeInt(this.createBy);
                dest.writeLong(this.createTime);
                dest.writeString(this.statusText);
                dest.writeInt(this.status);
            }

            protected ListBean(Parcel in) {
                this.mercId = in.readInt();
                this.refundMethod = in.readInt();
                this.orderId = in.readInt();
                this.paymentPartner = in.readString();
                this.userPhone = in.readString();
                this.fee = in.readString();
                this.remark = in.readString();
                this.cityId = in.readInt();
                this.id = in.readInt();
                this.seq = in.readString();
                this.tradeSeq = in.readString();
                this.tradeType = in.readString();
                this.amount = in.readInt();
                this.orderNo = in.readString();
                this.refundScene = in.readInt();
                this.storeId = in.readInt();
                this.refundMethodText = in.readString();
                this.userName = in.readString();
                this.userId = in.readInt();
                this.isSign = in.readInt();
                this.deviceSerial = in.readString();
                this.tradeTime = in.readLong();
                this.createBy = in.readInt();
                this.createTime = in.readLong();
                this.statusText = in.readString();
                this.status = in.readInt();
            }

            public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
                @Override
                public ListBean createFromParcel(Parcel source) {
                    return new ListBean(source);
                }

                @Override
                public ListBean[] newArray(int size) {
                    return new ListBean[size];
                }
            };
        }

}
